using System;

namespace Live.Refresh.Components
{
    public class Log2Console : ILogger
    {
        public void Debug(string message)
        {
            System.Diagnostics.Debug.WriteLine(message);
        }

        public void Error(string message)
        {
            System.Diagnostics.Debug.WriteLine(message);
        }

        public void Fatal(string message)
        {
            System.Diagnostics.Debug.WriteLine(message);
        }

        public void Warning(string message)
        {
            System.Diagnostics.Debug.WriteLine(message);
        }

        public void Debug(string message, Exception ex)
        {
            System.Diagnostics.Debug.WriteLine(message + " ex: " + ex.Message);
        }

        public void Error(string message, Exception ex)
        {
            System.Diagnostics.Debug.WriteLine(message + " ex: " + ex.Message);
        }

        public void Fatal(string message, Exception ex)
        {
            System.Diagnostics.Debug.WriteLine(message + " ex: " + ex.Message);
        }

        public void Warning(string message, Exception ex)
        {
            System.Diagnostics.Debug.WriteLine(message + " ex: " + ex.Message);
        }
    }
}